<?php if (!defined('THINK_PATH')) exit();?> 
<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title><?php echo ($title); ?></title>
		<meta name="keywords" content="后台管理" />
		<meta name="description" content="后台管理" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />

		<!-- basic styles -->

		<link href="/Application/Admin/View/Public/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="/Application/Admin/View/Public/css/font-awesome.min.css" />

		<!--[if IE 7]>
		  <link rel="stylesheet" href="/Application/Admin/View/Public/css/font-awesome-ie7.min.css" />
		<![endif]-->

		<!-- page specific plugin styles -->

		<!-- fonts -->

		<link rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans:400,300" />

		<!-- ace styles -->

		<link rel="stylesheet" href="/Application/Admin/View/Public/css/ace.min.css" />
		<link rel="stylesheet" href="/Application/Admin/View/Public/css/ace-rtl.min.css" />
		<link rel="stylesheet" href="/Application/Admin/View/Public/css/ace-skins.min.css" />

		<!--[if lte IE 8]>
		  <link rel="stylesheet" href="/Application/Admin/View/Public/css/ace-ie.min.css" />
		<![endif]-->

		<!-- inline styles related to this page -->

		<!-- ace settings handler -->

		<script src="/Application/Admin/View/Public/js/ace-extra.min.js"></script>

		<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->

		<!--[if lt IE 9]>
		<script src="/Application/Admin/View/Public/js/html5shiv.js"></script>
		<script src="/Application/Admin/View/Public/js/respond.min.js"></script>
		<![endif]-->
	</head>
<body class="main-container">
	<div class="container" id="container">

		<div class="row">
			<div class="col-xs-12">	
				<div class="widget-box text-center" style="margin-top:100px;">
				<div class="widget-header header-color-blue">
					<h5 class="bigger lighter">
					<i class="icon-spinner icon-spin orange bigger-125"></i>
						提  示  信  息
					</h5>
				</div>
					
				<div class="widget-body">
					<div class="widget-main no-padding">
						<table class="table table-striped table-bordered table-hover">
							
							<tbody>
								<tr>
									<td>
										 <?php if(isset($message)) {?>
										    <p class="success">:) <?php echo($message); ?></p>
										    <?php }else{?>
										    <p class="error">:( <?php echo($error); ?></p>
										    <?php }?>
									</td>
								</tr>
								<tr>
									<td>
										  <a id="href" href="<?php echo($jumpUrl); ?>">如果你的浏览器没有自动跳转，请点击这里...</a>
									</td>
								</tr>
								<tr>
									<td>
										等待时间： <b id="wait"><?php echo($waitSecond); ?></b>
									</td>
								</tr>
							</tbody>
						</table>
					</div>
				</div>

			</div>


			</div>
		</div>

	</div>

			<!-- basic scripts -->

		<!--[if !IE]> -->

		<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script>

		<!-- <![endif]-->

		<!--[if IE]>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<![endif]-->

		<!--[if !IE]> -->

		<script type="text/javascript">
			window.jQuery || document.write("<script src='/Application/Admin/View/Public/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
		</script>

		<!-- <![endif]-->

		<!--[if IE]>
<script type="text/javascript">
 window.jQuery || document.write("<script src='/Application/Admin/View/Public/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
</script>
<![endif]-->

		<script type="text/javascript">
			if("ontouchend" in document) document.write("<script src='/Application/Admin/View/Public/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
		</script>
		<script src="/Application/Admin/View/Public/js/bootstrap.min.js"></script>
		<script src="/Application/Admin/View/Public/js/typeahead-bs2.min.js"></script>

		<!-- page specific plugin scripts -->

		<script src="/Application/Admin/View/Public/js/jquery-ui-1.10.3.custom.min.js"></script>
		<script src="/Application/Admin/View/Public/js/jquery.ui.touch-punch.min.js"></script>
		<script src="/Application/Admin/View/Public/js/jquery.slimscroll.min.js"></script>

		<!-- ace scripts -->

		<script src="/Application/Admin/View/Public/js/ace-elements.min.js"></script>
		<script src="/Application/Admin/View/Public/js/ace.min.js"></script>

		<!-- inline scripts related to this page -->

		<script type="text/javascript">
			jQuery(function($) {
			
				$('#simple-colorpicker-1').ace_colorpicker({pull_right:true}).on('change', function(){
					var color_class = $(this).find('option:selected').data('class');
					var new_class = 'widget-header';
					if(color_class != 'default')  new_class += ' header-color-'+color_class;
					$(this).closest('.widget-header').attr('class', new_class);
				});
			
			
				// scrollables
				$('.slim-scroll').each(function () {
					var $this = $(this);
					$this.slimScroll({
						height: $this.data('height') || 100,
						railVisible:true
					});
				});
			
				/**$('.widget-box').on('ace.widget.settings' , function(e) {
					e.preventDefault();
				});*/
				  
				  
			
				// Portlets (boxes)
			    $('.widget-container-span').sortable({
			        connectWith: '.widget-container-span',
					items:'> .widget-box',
					opacity:0.8,
					revert:true,
					forceHelperSize:true,
					placeholder: 'widget-placeholder',
					forcePlaceholderSize:true,
					tolerance:'pointer'
			    });
			
			});
		</script>
	<script type="text/javascript">

 (function(){
    var wait = document.getElementById('wait'),href = document.getElementById('href').href;
    var interval = setInterval(function(){
    var time = --wait.innerHTML;
    if(time <= 0) {
    location.href = href;
    clearInterval(interval);
    };
    }, 1000);
    })();
	</script>
</body>
</html>